package com.dataaccess.dataaccess.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dataaccess.dataaccess.common.base.BasisEntity;

/**
 * @author Yang
 */
@TableName("region")
public class BusinessType extends BasisEntity {
    private String id;//主键id
    private String name;//名称
    private String pid;//父级id
    //private Integer level;//等级

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getPid() {
        return this.getString("pid");
    }

    public void setPid(String pid) {
        this.put("pid",pid);
    }

//    public Integer getLevel() {
//        return this.getInteger("level");
//    }
//
//    public void setLevel(Integer level) {
//        this.put("level",level);
//    }
}
